package cn.edu.zut.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
@JsonIgnoreProperties(value = {"handler"})
public class Dep implements Serializable {
    private static final long serialVersionUID = -1130337325115941367L;
    private Integer _id;
    private String name;

    @Override
    public String toString() {
        return "Dep{" +
                "_id='" + _id + '\'' +
                ", name='" + name + '\'' +
                '}';
    }

    public Integer get_id() {
        return _id;
    }

    public void set_id(Integer _id) {
        this._id = _id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
